<html>
<head><meta charset="utf-8"><title>llvm build problems on older rustc commits · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/llvm.20build.20problems.20on.20older.20rustc.20commits.html">llvm build problems on older rustc commits</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="168117670"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/llvm%20build%20problems%20on%20older%20rustc%20commits/near/168117670" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/llvm.20build.20problems.20on.20older.20rustc.20commits.html#168117670">(Jun 14 2019 at 08:43)</a>:</h4>
<p>In order to bisect <a href="https://github.com/rust-lang/rust/issues/61402" target="_blank" title="https://github.com/rust-lang/rust/issues/61402">#61402</a>, I have been trying to build older version of rustc, namely the one at commit 2d4df9584be (circa December 2017)</p>



<a name="168117686"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/llvm%20build%20problems%20on%20older%20rustc%20commits/near/168117686" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/llvm.20build.20problems.20on.20older.20rustc.20commits.html#168117686">(Jun 14 2019 at 08:43)</a>:</h4>
<p>but I keep getting errors while building LLVM</p>



<a name="168117753"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/llvm%20build%20problems%20on%20older%20rustc%20commits/near/168117753" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/llvm.20build.20problems.20on.20older.20rustc.20commits.html#168117753">(Jun 14 2019 at 08:44)</a>:</h4>
<p>of the form (I think) <code>OrcRemoteTargetClient.h:696:26: error: could not convert ‘((llvm::orc::remote::OrcRemoteTargetClient&lt;ChannelT&gt;*)this)-&gt;callB&lt;llvm::orc::remote::OrcRemoteTargetRPCAPI::ReadMem&gt;(Src, Size)’ from ‘Expected&lt;vector&lt;unsigned char,allocator&lt;unsigned char&gt;&gt;&gt;’ to ‘Expected&lt;vector&lt;char,allocator&lt;char&gt;&gt;&gt;’</code></p>



<a name="168117779"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/llvm%20build%20problems%20on%20older%20rustc%20commits/near/168117779" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/llvm.20build.20problems.20on.20older.20rustc.20commits.html#168117779">(Jun 14 2019 at 08:45)</a>:</h4>
<p>is this some artifact of the version of clang I have installed locally, or something? What would other people's strategy be to deal with this?</p>



<a name="168120579"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/llvm%20build%20problems%20on%20older%20rustc%20commits/near/168120579" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/llvm.20build.20problems.20on.20older.20rustc.20commits.html#168120579">(Jun 14 2019 at 09:32)</a>:</h4>
<p>(well my strategy ended up being "do it on my mac instead of my linux box" ...)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>